package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.lang.annotation.Documented;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "test1")
public class Test1 implements Serializable {

    private ObjectId id;
    private Long userId;
    private Boolean likeOpen;
    private Boolean commentOpen;
    private Boolean announcementOpen;
}
